class RechargeRecordModel {
  String _money;
  String _good;
  String _createTime;
  String _memberNickname;
  String _memberHead;

  RechargeRecordModel(
    {String money,
      String good,
      String createTime,
      String memberNickname,
      String memberHead}) {
    this._money = money;
    this._good = good;
    this._createTime = createTime;
    this._memberNickname = memberNickname;
    this._memberHead = memberHead;
  }

  String get money => _money;
  set money(String money) => _money = money;
  String get good => _good;
  set good(String good) => _good = good;
  String get createTime => _createTime;
  set createTime(String createTime) => _createTime = createTime;
  String get memberNickname => _memberNickname;
  set memberNickname(String memberNickname) => _memberNickname = memberNickname;
  String get memberHead => _memberHead;
  set memberHead(String memberHead) => _memberHead = memberHead;

  RechargeRecordModel.fromJson(Map<String, dynamic> json) {
    _money = json['money'];
    _good = json['good'];
    _createTime = json['create_time'];
    _memberNickname = json['member_nickname'];
    _memberHead = json['member_head'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['money'] = this._money;
    data['good'] = this._good;
    data['create_time'] = this._createTime;
    data['member_nickname'] = this._memberNickname;
    data['member_head'] = this._memberHead;
    return data;
  }

  @override
  String toString() {
    return 'RechargeRecordModel{_money: $_money, _good: $_good, _createTime: $_createTime, _memberNickname: $_memberNickname, _memberHead: $_memberHead}';
  }

}
